<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .ml-8 {
      margin-left: 8px;
      cursor: pointer;
    }
    .current {
      color:lightseagreen;
    }
    .add {
      float: right;
      cursor: pointer;
    }

    ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }
    li {
      padding: 8px;
      display: flex;
      align-items: center;
      background-color: #ddd;
      margin: 4px 0;
      transition: all linear 0.3s;
    }
    li span:first-child {
      width: 30px;
    }
    li span:nth-child(2) {
      width: 150px;
    }
    li span:nth-child(3) {
      flex: 1;
    }
    li span:last-child {
      width: 30px;
      text-align: right;
      cursor: pointer;
      color: indianred;
    }
  </style>
</head>
<body>
  <div id="container"></div>
  <script src="./src/list.js"></script>
</body>
</html>